home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000068_news@columbia.edu _Wed Jul 24 13:03:53 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id NAA07202 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 24 Jul 1996 13:03:53 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id NAA06743 for kermit.misc@watsun; Wed, 24 Jul 1996 13:03:49 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Kermit Batch/interactive
  8. Date: 24 Jul 1996 17:03:26 GMT
  9. Organization: Columbia University
  10. Lines: 25
  11. Message-ID: <4t5l0u$cj4@apakabar.cc.columbia.edu>
  12. References: <jefeDv18u5.3F0@netcom.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <jefeDv18u5.3F0@netcom.com>, Pablo <jefe@netcom.com> wrote:
  16. : I'm setting up an automated batch file where kermit sets the 
  17. : port, dials the number retrieves some files etc. etc., then goes 
  18. : interactive.  What I need to know is can the host send the escape 
  19. : sequence (ctrl-]-c) drop kermit out of interactive mode and continue 
  20. : batch processing, or, just get out- whichever.  Is this possible?
  21. Presently, there does not seem to be a good way to do this.  APC commands
  22. always return to terminal mode when done.  The only way to get MS-DOS Kermit
  23. (or Kermit 95, etc) to return to its prompt automatically is to close the
  24. connection.  If that's not an option, then you'll need to have the host
  25. application print a message telling the user to escape back.  To make it easy,
  26. you could send something like this:
  27.  
  28.   <ESC>_set key \315 \kexit<ESC>\
  29.   Please press F1 to continue...
  30.  
  31. If you are using C-Kermit on the host, the commands would be:
  32.  
  33.   apc set key \\315 \\kexit
  34.   echo Please press F1 to continue...
  35.  
  36. We'll look into adding a feature like this to the forthcoming release.
  37.  
  38. - Frank